package com.leyantech.ecp.agenx.common.di;

import com.leyantech.ecp.agenx.common.entity.HelaKey;
import com.leyantech.grpc.clients.LeyanGrpcClientOverrideModule;
import com.leyantech.hela.client.module.HelaClientModule;

import com.google.inject.AbstractModule;

/**
 * @author eahau, {@literal <eahau@foxmail.com>}
 * @date 2022-11-18.
 */
public class HelaModule extends AbstractModule {

  @Override
  protected void configure() {
    install(LeyanGrpcClientOverrideModule.buildBySystemPropPlatform());
    install(new HelaClientModule());

    requestStaticInjection(HelaKey.class);
  }

}
